import { Center, Text } from "@mantine/core";
import { IconInbox } from "@tabler/icons-react";

export default function EmptyListPlaceholder({ message = "暂无数据" }) {
  return (
    <Center style={{ flexDirection: "column", padding: "2rem" }}>
      <IconInbox size={48} color="gray" />
      <Text c="gray" size="md" style={{ marginTop: "1rem" }}>
        {message}
      </Text>
    </Center>
  );
}
